package com.heatingcharge.mapper.charge;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heatingcharge.dto.ChargePlanDTO;
import com.heatingcharge.entity.charge.ChargePlan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heatingcharge.param.ChargePlanParam;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 收费计划 Mapper 接口
 * </p>
 *
 * @author devin.jiang
 * @since 2019-12-27
 */
public interface ChargePlanMapper extends BaseMapper<ChargePlan> {

    IPage<ChargePlanDTO> selectPlantChargePlan(Page page,@Param("query") ChargePlanParam chargePlanParam);
    IPage<ChargePlanDTO> selectPayeeChargePlan(Page page,@Param("query") ChargePlanParam chargePlanParam);
}
